using System;
using System.ComponentModel.DataAnnotations;

namespace MES_workbench.Domian.Entities
{
    /// <summary>
    /// 订单交付管理
    /// </summary>
    public class OrderDeliveryReminder
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int OrderDeliveryId { get; set; }

        /// <summary>
        /// 单据编号，如：XSDI2023512698
        /// </summary>
        public string? DocumentNo { get; set; }

        /// <summary>
        /// 单据主题，如：“订单下单”、“采购明细” 等
        /// </summary>
        public string? DocumentTitle { get; set; }

        /// <summary>
        /// 单据类型，如：销售订单、采购订单 等
        /// </summary>
        public string? DocumentType { get; set; }


        /// <summary>
        /// 单据状态，如：“已提交”、“审核中”、“已完成” 等
        /// </summary>
        public string? DocumentStatus { get; set; }

        /// <summary>
        /// 交付日期
        /// </summary>
        public DateTime DeliveryTime {  get; set; }


        /// <summary>
        /// false 未删除，true 已删除（软删除）
        /// </summary>
        public bool IsDelete { get; set; }=false;
    }
}
